package com.xdz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xdz.entity.CategoryBrandRelationEntity;
import com.xdz.entity.vo.BrandVo;
import com.xdz.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author xdz
 * @email 1351959729@qq.com
 * @date 2021-04-26 21:45:02
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity> cateloglist(String brand);

    void saveRelation(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrand(Long brandId, String name);

    void updateCategory(Long catId, String name);

    List<BrandVo> getBrandListBycateLogId(String categoryId);
}

